package com.warm.datascope;

import com.warm.datascope.annotaion.DataScope;
import com.warm.datascope.interceptor.DataScopeInterceptor;
import org.noear.solon.core.AppContext;
import org.noear.solon.core.Plugin;

/**
 * 权限范围插件
 *
 * @author warm
 */
public class XPluginImpl implements Plugin {
    @Override
    public void start(AppContext context) {
        context.beanInterceptorAdd(DataScope.class, new DataScopeInterceptor());
    }
}